﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 供应链备料AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class SCMPickListAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public SCMPickListAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
					PickLineNo= 0; 
				
		
		
					QtyType= 0; 
				
		
		
					ConsignProcessItemSrc= 0; 
							StdReqQty=0m; 
					ActualReqQty=0m; 
		
					IsWholeSetIssue=false; 
					RcvApproveSetCheck=false; 
					RcvSaveSetCheck=false; 

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.POLineAITDTO != null) 
			{
				this.POLineAITDTO.DoSerializeKeyList(dict);
			}
	        	        			if (this.ItemInfo != null) 
			{
				this.ItemInfo.DoSerializeKeyList(dict);
			}
	        			if (this.SupplyOrg != null) 
			{
				this.SupplyOrg.DoSerializeKeyList(dict);
			}
	        			if (this.RcvUOM != null) 
			{
				this.RcvUOM.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.IssueUOM != null) 
			{
				this.IssueUOM.DoSerializeKeyList(dict);
			}
	        			if (this.CoUOM != null) 
			{
				this.CoUOM.DoSerializeKeyList(dict);
			}
	        	        	        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public SCMPickListAITDTOData(  ufida.u9.ait.openapi.POLineAITDTOData pOLineAITDTO  , System.Int16 pickLineNo  , ufida.u9.ait.openapi.CopyOfItemInfoData itemInfo  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData supplyOrg  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData rcvUOM  , System.Int16 qtyType  , System.String planReqDate  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData issueUOM  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData coUOM  , System.Int16 consignProcessItemSrc  , System.Decimal stdReqQty  , System.Decimal actualReqQty  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , System.Boolean isWholeSetIssue  , System.Boolean rcvApproveSetCheck  , System.Boolean rcvSaveSetCheck  )
		{
			initData();
			this.POLineAITDTO = pOLineAITDTO;
			this.PickLineNo = pickLineNo;
			this.ItemInfo = itemInfo;
			this.SupplyOrg = supplyOrg;
			this.RcvUOM = rcvUOM;
			this.QtyType = qtyType;
			this.PlanReqDate = planReqDate;
			this.IssueUOM = issueUOM;
			this.CoUOM = coUOM;
			this.ConsignProcessItemSrc = consignProcessItemSrc;
			this.StdReqQty = stdReqQty;
			this.ActualReqQty = actualReqQty;
			this.DescFlexField = descFlexField;
			this.IsWholeSetIssue = isWholeSetIssue;
			this.RcvApproveSetCheck = rcvApproveSetCheck;
			this.RcvSaveSetCheck = rcvSaveSetCheck;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 采购订单行AITDTO
		/// 供应链备料AITDTO.Misc.采购订单行AITDTO
		/// </summary>
		private ufida.u9.ait.openapi.POLineAITDTOData m_pOLineAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.POLineAITDTOData POLineAITDTO
		{
			get	
			{	
				return m_pOLineAITDTO ;
			}
			set	
			{	
				m_pOLineAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 行号
		/// 供应链备料AITDTO.Misc.行号
		/// </summary>
		private System.Int16 m_pickLineNo ;
		[DataMember(IsRequired=false)]
		public System.Int16 PickLineNo
		{
			get	
			{	
				return m_pickLineNo ;
			}
			set	
			{	
				m_pickLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 料品信息
		/// 供应链备料AITDTO.Misc.料品信息
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfItemInfoData m_itemInfo ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfItemInfoData ItemInfo
		{
			get	
			{	
				return m_itemInfo ;
			}
			set	
			{	
				m_itemInfo = value ;	
			}
		}
			
		

		/// <summary>
		/// 供应组织
		/// 供应链备料AITDTO.Misc.供应组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_supplyOrg ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData SupplyOrg
		{
			get	
			{	
				return m_supplyOrg ;
			}
			set	
			{	
				m_supplyOrg = value ;	
			}
		}
			
		

		/// <summary>
		/// 收货单位
		/// 供应链备料AITDTO.Misc.收货单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_rcvUOM ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData RcvUOM
		{
			get	
			{	
				return m_rcvUOM ;
			}
			set	
			{	
				m_rcvUOM = value ;	
			}
		}
			
		

		/// <summary>
		/// 数量类型
		/// 供应链备料AITDTO.Misc.数量类型
		/// </summary>
		private System.Int16 m_qtyType ;
		[DataMember(IsRequired=false)]
		public System.Int16 QtyType
		{
			get	
			{	
				return m_qtyType ;
			}
			set	
			{	
				m_qtyType = value ;	
			}
		}
			
		

		/// <summary>
		/// 需求日期
		/// 供应链备料AITDTO.Misc.需求日期
		/// </summary>
		private System.String m_planReqDate ;
		[DataMember(IsRequired=false)]
		public System.String PlanReqDate
		{
			get	
			{	
				return m_planReqDate ;
			}
			set	
			{	
				m_planReqDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 发料单位
		/// 供应链备料AITDTO.Misc.发料单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_issueUOM ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData IssueUOM
		{
			get	
			{	
				return m_issueUOM ;
			}
			set	
			{	
				m_issueUOM = value ;	
			}
		}
			
		

		/// <summary>
		/// 成本单位
		/// 供应链备料AITDTO.Misc.成本单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_coUOM ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData CoUOM
		{
			get	
			{	
				return m_coUOM ;
			}
			set	
			{	
				m_coUOM = value ;	
			}
		}
			
		

		/// <summary>
		/// 委托料品来源
		/// 供应链备料AITDTO.Misc.委托料品来源
		/// </summary>
		private System.Int16 m_consignProcessItemSrc ;
		[DataMember(IsRequired=false)]
		public System.Int16 ConsignProcessItemSrc
		{
			get	
			{	
				return m_consignProcessItemSrc ;
			}
			set	
			{	
				m_consignProcessItemSrc = value ;	
			}
		}
			
		

		/// <summary>
		/// 标准用量
		/// 供应链备料AITDTO.Misc.标准用量
		/// </summary>
		private System.Decimal m_stdReqQty ;
		[DataMember(IsRequired=false)]
		public System.Decimal StdReqQty
		{
			get	
			{	
				return m_stdReqQty ;
			}
			set	
			{	
				m_stdReqQty = value ;	
			}
		}
			
		

		/// <summary>
		/// 实际用量
		/// 供应链备料AITDTO.Misc.实际用量
		/// </summary>
		private System.Decimal m_actualReqQty ;
		[DataMember(IsRequired=false)]
		public System.Decimal ActualReqQty
		{
			get	
			{	
				return m_actualReqQty ;
			}
			set	
			{	
				m_actualReqQty = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述性弹性域
		/// 供应链备料AITDTO.Misc.描述性弹性域
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 齐套发料
		/// 供应链备料AITDTO.Misc.齐套发料
		/// </summary>
		private System.Boolean m_isWholeSetIssue ;
		[DataMember(IsRequired=false)]
		public System.Boolean IsWholeSetIssue
		{
			get	
			{	
				return m_isWholeSetIssue ;
			}
			set	
			{	
				m_isWholeSetIssue = value ;	
			}
		}
			
		

		/// <summary>
		/// 收货审核齐套
		/// 供应链备料AITDTO.Misc.收货审核齐套
		/// </summary>
		private System.Boolean m_rcvApproveSetCheck ;
		[DataMember(IsRequired=false)]
		public System.Boolean RcvApproveSetCheck
		{
			get	
			{	
				return m_rcvApproveSetCheck ;
			}
			set	
			{	
				m_rcvApproveSetCheck = value ;	
			}
		}
			
		

		/// <summary>
		/// 收货保存齐套
		/// 供应链备料AITDTO.Misc.收货保存齐套
		/// </summary>
		private System.Boolean m_rcvSaveSetCheck ;
		[DataMember(IsRequired=false)]
		public System.Boolean RcvSaveSetCheck
		{
			get	
			{	
				return m_rcvSaveSetCheck ;
			}
			set	
			{	
				m_rcvSaveSetCheck = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																																
		#endregion 
	} 	
}
